@extends('master')

@section('title', '产品管理')

@section('content')
<div class="row">
    <div class="col-md-12">
        @include('message')
    </div>
</div>
<div class="row">
    <div class="col-md-12">
        <% Form::open(array('class' => 'form-horizontal', 'method' => 'POST', 'route' => 'setting.update')) %>
            <fieldset>
                <div class="form-group">
                    <label for="smtp" class="col-sm-2 control-label">邮箱发件服务器</label>
                    <div class="col-sm-10">
                        <input type="text" class="form-control" name="smtp" id="smtp" required placeholder="smtp.qq.com" value="<% $smtp %>">
                    </div>
                </div>
                <div class="form-group">
                    <label for="email" class="col-sm-2 control-label">邮箱地址</label>
                    <div class="col-sm-10">
                        <input type="email" class="form-control" name="email" id="email" required placeholder="john@example.com" value="<% $email %>">
                    </div>
                </div>
                <div class="form-group">
                    <label for="name" class="col-sm-2 control-label">显示昵称/姓名</label>
                    <div class="col-sm-10">
                        <input type="text" class="form-control" name="name" id="name" required placeholder="张三" value="<% $name %>">
                    </div>
                </div>
                <div class="form-group">
                    <label for="username" class="col-sm-2 control-label">登陆用户名</label>
                    <div class="col-sm-10">
                        <input type="text" class="form-control" name="username" id="username" required placeholder="用户名" value="<% $username %>">
                    </div>
                </div>
                <div class="form-group">
                    <label for="passowrd" class="col-sm-2 control-label">邮箱密码</label>
                    <div class="col-sm-10">
                        <input type="password" class="form-control" name="passowrd" id="passowrd" required placeholder="输入密码" value="<% $password %>">
                    </div>
                </div>
                <div class="form-group">
                    <div class="col-sm-10 col-sm-offset-2">
                        <% Form::submit('更新', array('class' => 'btn btn-primary')) %>
                    </div>
                </div>
            </fieldset>
        <% Form::close() %>
    </div>
</div>
@stop